﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin.Master" AutoEventWireup="true"
    CodeBehind="admin_contact.aspx.cs" Inherits="Web.admin_contact" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cssContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="jsContent" runat="server">

    <script type="text/javascript" language="javascript">
    $(function() {
    initSideNav("nav-set","admin_contact.aspx");
    });
    </script>

</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="mainContent" runat="server">
    <div class="content-box">
        <!-- Start Content Box -->
        <div class="content-box-header">
            <h3>
                联系方式管理</h3>
            <ul class="content-box-tabs">
            </ul>
            <div class="clear">
            </div>
        </div>
        <!-- End .content-box-header -->
        <div class="content-box-content">
            <div class="tab-content default-tab" id="tab1">
                <!-- This is the target div. id must match the href of this div's tab -->
                <asp:ScriptManager ID="ScriptManager1" runat="server">
                </asp:ScriptManager>
                <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                    <ContentTemplate>
                        <div class="notification error png_bg" id="noticefail" runat="server">
                            <a href="#" class="close">
                                <img src="resources/images/icons/cross_grey_small.png" title="Close this notification"
                                    alt="close" /></a>
                            <div>
                                更新失败！请检查各个字段是否正确！如果多次失败，请联系技术！谢谢！
                            </div>
                        </div>
                        <div class="notification success png_bg" id="noticesuccess" runat="server">
                            <a href="#" class="close">
                                <img src="resources/images/icons/cross_grey_small.png" title="Close this notification"
                                    alt="close" /></a>
                            <div>
                                更新成功！
                            </div>
                        </div>
                        <fieldset>
                            <!-- Set class to "column-left" or "column-right" on fieldsets to divide the form into columns -->
                            <p>
                                <label>
                                    公司中文名称</label>
                                <asp:TextBox ID="txbCname" runat="server" CssClass="text-input medium-input"></asp:TextBox>
                            </p>
                            <p>
                                <label>
                                    公司英文名称</label>
                                <asp:TextBox ID="txbEname" runat="server" CssClass="text-input medium-input"></asp:TextBox>
                            </p>
                            <p>
                                <label>
                                    联系电话</label>
                                <asp:TextBox ID="txbTelphone" runat="server" CssClass="text-input medium-input"></asp:TextBox>
                            </p>
                            <p>
                                <label>
                                    邮箱地址</label>
                                <asp:TextBox ID="txbEmailAddress" runat="server" CssClass="text-input medium-input"></asp:TextBox>
                            </p>
                            <p>
                                <label>
                                    中文地址</label>
                                <asp:TextBox ID="txbCAdress" runat="server" CssClass="text-input medium-input"></asp:TextBox>
                            </p>
                            <p>
                                <label>
                                    英文地址</label>
                                <asp:TextBox ID="txbEAdress" runat="server" CssClass="text-input medium-input"></asp:TextBox>
                            </p>
                            <p>
                                <label>
                                    中文版权</label>
                                <asp:TextBox ID="txbCCopyRight" runat="server" CssClass="text-input medium-input"></asp:TextBox>
                            </p>
                            <p>
                                <label>
                                    英文版权</label>
                                <asp:TextBox ID="txbECopyRight" runat="server" CssClass="text-input medium-input"></asp:TextBox>
                            </p>
                            <p>
                                <label>
                                    备案</label>
                                <asp:TextBox ID="txbBeiAn" runat="server" CssClass="text-input medium-input"></asp:TextBox>
                            </p>
                            <p>
                                <asp:Button ID="btnSubmit" runat="server" CssClass="button" OnClick="btnSubmit_OnClick"
                                    Text="提交" />
                                <input class="button" type="Reset" value="取消" />
                            </p>
                            </p>
                        </fieldset>
                    </ContentTemplate>
                </asp:UpdatePanel>
                <div class="" id="uploadimage" style="display: none;">
                    请选择缩略图进行上传，大小为130x90，或者保持此比例！<br />
                    <div id="file-uploader">
                        <noscript>
                            <p>
                                Please enable JavaScript to use file uploader.</p>
                            <!-- or put a simple form for upload here -->
                        </noscript>
                    </div>
                    <div id="btnajaxupload" class="uploadbtnclass">
                    上传
                    </div>
                    <%--<button id="btnajaxupload" value="upload">
                        upload</button>--%>
                    <button id="btnDeleteOldImage" onclick="deletePreImage();"  class="deletebtnclass">
                        删除</button>
                    <div id="file-upload-show" style="display: none;">
                        <img src="" id="image-upload-show" title="预览" />
                    </div>
                </div>
                <div class="clear">
                </div>
                <!-- End .clear -->
            </div>
            <!-- End #tab1 -->
        </div>
        <!-- End .content-box-content -->
    </div>
</asp:Content>
